package cn.sju.tq.mapper.impl;

import cn.sju.tq.mapper.OrderMapper;
import cn.sju.tq.pojo.Order;

import java.util.List;

public class OrderMapperImpl implements OrderMapper {
    @Override
    public void insert(Order order) {
        System.out.println(order.getUser().getName()+"下的订单被持久化到数据库中，订单号为："+order.getOrderNo());
    }

    @Override
    public Order selectByNo(String orderNo) {
        return null;
    }

    @Override
    public List<Order> selectAll() {
        return null;
    }

    @Override
    public void update(Order order) {

    }

    @Override
    public void deleteById(String orderNo) {

    }
}
